import { createApp } from 'vue'
import App from './App.vue'

import router from './router'

import ElementPlus from 'element-plus'
import 'element-plus/lib/theme-chalk/index.css'
import axios from 'axios'
import './axios'
import VueAxios from 'vue-axios'

const app = createApp(App)
app.use(ElementPlus)
app.use(VueAxios, axios)
app.use(router)

app.provide('axios', axios)
app.provide('VueAxios', VueAxios)
app.provide('ElementPlus', ElementPlus)

app.mount('#app')

